package com.sys.dto.idto;



import com.sys.entity.UserEntity;

import java.util.List;

public interface IUserDTO {
        public void save(UserEntity entity);


        public void delete(Integer id);


        public UserEntity update(UserEntity entity,Integer uid);

        public UserEntity findById(Integer id);
        public UserEntity changePassword(Integer id,String password);


        public List<UserEntity> findByProperty(String propertyName, Object value);

        public UserEntity findByName(String name);

        public List<UserEntity> findByAge(Object age);


        public List<UserEntity> findAll();
}
